﻿@using System;
@using System.Threading
@using System.Web.Optimization
@using FutureApp.Configuration
@{
    var keywords = SettingsManager.GetAppSetting("website:Keywords");
    var description = SettingsManager.GetAppSetting("website:Description");
    var author = SettingsManager.GetAppSetting("website:Author");
    var appName = SettingsManager.GetAppSetting("website:AppName");
    this.SetAntiForgeryCookie();
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="shortcut icon" href="~/favicon.ico">

    <meta name="keywords" content="@keywords" />
    <meta name="description" content="@description">
    <meta name="author" content="@author">
    <title>@ViewBag.Title【@appName】</title>

    @Styles.Render("~/verdor/css")
    @RenderSection("styles", required: false)

    <script>
        //This is used to get the application's root path from javascript. It's useful if you're running application in a virtual directory under IIS.
        var abp = abp || {};
        abp.appPath = '@ApplicationPath';
        abp.debug = @SettingsManager.GetAppBooleanSetting("website:Debug").ToString().ToLower();
    </script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]> @Scripts.Render("~/verdor/shiv") <![endif]-->
    @Scripts.Render("~/verdor/js")
</head>
<body class="@ViewBag.CssClass" style="@ViewBag.CssStyle">
    @RenderBody()

    <script>
        moment.locale('@Thread.CurrentThread.CurrentUICulture.Name');
    </script>
    <script src="~/api/AbpServiceProxies/GetAll?v=@(DateTime.Now.Ticks)"></script>
    <script src="~/AbpScripts/GetScripts?v=@(DateTime.Now.Ticks)"></script>
    @RenderSection("scripts", required: false)
</body>
</html>
